package com.ssm.basis.service.office;

import org.apache.poi.ss.usermodel.CellType;

import java.lang.annotation.*;

@Inherited
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface ExcelCell {
    String title();

    /**
     * 默认字符串类型
     */
    CellType type() default CellType.STRING;

    /**
     * 默认单元格宽度为 25 个字符宽度
     */
    int width() default 25 * 256;
}
